package com.sbxBase.dubbo;

import com.sbxBase.service.UserNoticeService;
import com.common.dubbo.sbxBase.UserNoticeRPC;
import com.common.entity.sbxBase.UserNotice;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * @Author: 何剑
 * @Date: 2023/3/13
 * @Note:
 **/
@DubboService
public class UserNoticeRCPImpl implements UserNoticeRPC {

    @Resource
    private UserNoticeService userNoticeService;
    @Override
    public void saveUserNotice(UserNotice userNotice) {
        userNoticeService.saveUserNotice(userNotice);
    }
}
